package com.itheima.blog.article.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class CategoryVO {
    @ApiModelProperty(value = "唯一id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;
    @ApiModelProperty(value = "分类名")
    private String name;
    @ApiModelProperty(value = "分类简介")
    private String content;
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "状态 0停用 1启用")
    private Integer status;
    @ApiModelProperty(value = "排序字段，越大越靠前")
    private Integer sort;
    @ApiModelProperty(value = "点击数")
    private Integer clickCount;
}
